package com.example.bgxqmanage.feign;

import com.example.bgxqapi.domain.ApiResult;
import com.example.bgxqapi.domain.result.PageResult;
import com.example.bgxqapi.domain.result.SquareActivityResult;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ACTIVITY-SERVICE")
public interface ActivityService {

  @GetMapping("/living/activity/hot")
  ApiResult<PageResult<List<SquareActivityResult>>> hotActivity(
      @RequestParam("page") int page);

}
